package com.zbkj.crmeb.merchant.api.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class UpdatePickingProductRequest implements Serializable {

    @ApiModelProperty(value = "主订单id")
    @NotNull
    private Integer orderId;

    @ApiModelProperty(value = "子订单id")
    @NotNull
    private Integer orderInfoId;

    @ApiModelProperty(value = "商品数量 0表示移除")
    private Integer num;

    @ApiModelProperty(value = "批发价")
    private BigDecimal price;

}